package com.ljy.mapper;

import com.ljy.dto.EmpLoginDTO;
import com.ljy.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmpMapper {
    @Select("select * from employee where username=#{username} and password=#{password}")
    Employee getEmp(EmpLoginDTO dto);
}
